Ext.define('app.model.BbarComboBoxModel', {
    extend: 'Ext.data.Model',
    fields: [{
                    name: 'id',
                    type: 'int'
                }, {
                    name: 'name',
                    type: 'string'
                }],
    
    proxy: {
        type: 'ajax',
        url: '../../app/data/data.json',
        reader: {
            type: 'json',
            rootProperty: 'bbarComboBoxResults'
        }
    }
})